<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业3</title>
</head>
<body>
<script>
    var sum=0;
    for (let i = 0; i < 100; i++) {
        if (i%3==0&&i%5!=0){
            sum+=i;
        }
    }
    console.log("sum="+sum);
</script>
</body>
</html>